package com.youlai.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;

/**
 * 应用启动类
 *
 * @author Ray.Hao
 * @since 0.0.1
 */
@SpringBootApplication
@ConfigurationPropertiesScan // 开启配置属性绑定
// @EnableScheduling // 开启定时任务
public class YouLaiBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(YouLaiBootApplication.class, args);
        System.out.println(" __     __           _           _\n" +
                " \\ \\   / /          | |         (_)\n" +
                "  \\ \\_/ /__  _   _  | |     __ _ _\n" +
                "   \\   / _ \\| | | | | |    / _` | |\n" +
                "    | | (_) | |_| | | |___| (_| | |\n" +
                "    |_|\\___/ \\__,_| |______\\__,_|_|");
        System.out.println("=========================================================");
        System.out.println("(♥◠‿◠)ﾉﾞ系统启动成功   ლ(´ڡ`ლ)ﾞ  \n" );
    }

}
